package org.sixtynine.stock.dao;

/**
 * @author Thilan
 *
 */

import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.PackageData;
import org.springframework.transaction.annotation.Transactional;

@Transactional(readOnly = true)
public interface PackageDataDao extends AbstractDao<PackageData, Integer> {

	void savePackageData(PackageData packageData);

	PackageData findPackageData(String orderId);

	List<PackageData> findPackageData(int duration);

	public Page<PackageData> searchPackageData(int duration, String name,
			String orderBy, String orderByName, GridPramDTO gridPramDTO);

}
